/**
 * @(#)HomeController.java			1.0		09-10-2012
 */
package cesarg.controllers;

import java.util.Locale;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 *
 * @author 		Cesar Gonzalez M.
 * @category 	Class
 * @version		1.0		09-10-2012
 */

@Controller
public class HomeController {

	@RequestMapping(value = "/", method = RequestMethod.GET)
	public String home(Locale locale, Model model) {
		model.addAttribute("mensaje", "Don Pandix");
		return "home";
	}
	
}
